<template>
  <div class="employees-container">
    <div class="app-container">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane name="second" label="登录账户设置">
          登录账户设置-组件
          <LoginSetting />
        </el-tab-pane>
        <el-tab-pane label="个人详情">
          个人详情-组件
          <UserInfo />
        </el-tab-pane>
        <el-tab-pane label="岗位信息">
          岗位信息-组件
          <JobInfo />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>
<script>
import JobInfo from './components/job-info.vue'
import LoginSetting from './components/login-setting.vue'
import UserInfo from './components/user-info.vue'
export default {
  components: {
    JobInfo, LoginSetting, UserInfo
  },
  data() {
    return {
      activeName: 'second'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    }
  }
}
</script>
